require 'csv_to_table'
require 'test/unit'

class TestCsvToTable < Test::Unit::TestCase
=begin	
	def test_database_connection
		some_obj = CsvToTable.new 
		new_conn = some_obj.get_database_connection("summer_development")
		assert_equal(!nil, new_conn.class)
	end	
=end
        def test_database_connection_wrong_database
		some_obj = CsvToTable.new
		assert_raise(RuntimeError){new_conn = some_obj.get_database_connection("some_non_existent_database")}
		puts 'something here'
	end		
	
end	